﻿
Imports System.DateTime
Imports osi.root.constants

Namespace nowadays
    Public Module _nowadays
        Public Function high_res_ticks() As Int64
            Return high_res_ticks_retriever.high_res_ticks()
        End Function

        Public Function high_res_milliseconds() As Int64
            Return ticks_to_milliseconds(high_res_ticks())
        End Function

        Public Function normal_res_ticks() As Int64
            Return Now().Ticks()
        End Function

        Public Function normal_res_milliseconds() As Int64
            Return ticks_to_milliseconds(normal_res_ticks())
        End Function

        Public Function low_res_ticks() As Int64
            Return milliseconds_to_ticks(low_res_milliseconds())
        End Function

        Public Function low_res_milliseconds() As Int64
            Return low_res_ticks_retriever.low_res_milliseconds()
        End Function

        Public Function milliseconds() As Int64
            Return low_res_milliseconds()
        End Function

        Public Function ticks() As Int64
            Return low_res_ticks()
        End Function

        Public Function seconds() As Int64
            Return milliseconds_to_seconds(milliseconds())
        End Function
    End Module
End Namespace
